import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {M2gLogonComponent} from './m2g-logon/m2g-logon.component';
import {M2gAckComponent} from './m2g-ack/m2g-ack.component';
import {M2gErrorComponent} from './m2g-error/m2g-error.component';

const routes: Routes = [
  {
    path: 'logon',
    component: M2gLogonComponent
  },
  {
    path: 'ack',
    component: M2gAckComponent
  },
  {
    path: 'error',
    component: M2gErrorComponent
  }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
